<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery.min.js"></script>
</head>
<body>
<div id="aaa">

</div>
</body>
<script>
    $.ajax({
       url:"../../teacher/selectCoursesByTeacher",
        type:"post",
        success:function (data) {
            $("#aaa").html(data);
        }
    });
</script>

</html>